package org.smr.ministore.service;

import org.smr.ministore.entities.GoodsTypeOrgan;
import org.blade.service.base.BaseService;
import org.blade.service.base.BaseBatchService;
import org.blade.service.base.PaginationQueryService;
import org.smr.ministore.entities.vo.GoodsTypeOrganQuery;

import java.util.List;

/**
 * @author blade
 *
 */
public interface GoodsTypeOrganService extends BaseService<Long, GoodsTypeOrgan>,
                                        BaseBatchService<Long, GoodsTypeOrgan>,
                                        PaginationQueryService<Long, GoodsTypeOrgan> {


    /**
     * 查询已经指派组织
     *
     * @param goodsTypeOrganQuery goodsTypeOrganQuery
     * @return List<GoodsTypeOrgan>
     */
    List<GoodsTypeOrgan> queryAlreadyAssignedOrgans(GoodsTypeOrganQuery goodsTypeOrganQuery);

}
